
    <h2><a target="_blank" href="<?php echo $this->getUrl(array('id'=>Kd_Web::getVariables()->getData('article_object')->getId()),'comlist','comment','article')?>">更多评论...</a>评论</h2>
    <div class="comment_list">
    <?php foreach($this->comments as $comment):?>
    <dl>
        <dt><span>发表于<?php
                $second = strtotime(date('Y-m-d H:i:s')) - strtotime($comment->getTime());
                if(($second/3600/24)>1){echo (int)($second/3600/24).'天之前';}
                else if(($second/3600)>1){echo (int)($second/3600).'小时之前';}
                else if(($second/60)>1){echo (int)($second/60).'分钟之前';}
                else {echo (int)($second+1).'秒之前';}
            ?>
            </span><?php echo $comment->getAccount();?>
        </dt>
        <dd><?php echo $comment->getDetail();?></dd>
    </dl>
        <ul>
                <a class="support" rel="<?php echo $comment->getId()?>">支持(<span><?php echo $comment->getSupport()?></span>)</a>
                <a class="opposition" rel="<?php echo $comment->getId()?>">反对(<span><?php echo $comment->getOpposition()?></span>)</a>
        </ul>
    <?php endforeach;?>
    </div>